﻿<!DOCTYPE html>
<!-- 引入thymeleaf命名空间：属性提示  -->
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<base href="/">
    <title></title> 
    <link rel="stylesheet" type="text/css" href="Styles/admin-all.css" />
    <link rel="stylesheet" type="text/css" href="Styles/base.css"/>
    <script type="text/javascript" src="Scripts/jquery-1.7.2.js"></script> 
    <script type="text/javascript" src="Scripts/ChurAlert.min.js?skin=blue"></script>
	<script type="text/javascript" src="Scripts/jquery-ui-1.8.22.custom.min.js"></script>
    <script type="text/javascript" src="Scripts/chur-alert.1.0.js"></script>
    <script type="text/javascript" src="Scripts/tb.js"></script>
    <link rel="stylesheet" type="text/css" href="Styles/ui-lightness/jquery-ui-1.8.22.custom.css"/>
    <link rel="stylesheet" type="text/css" href="Styles/formui.css"/>
    <script type="text/javascript">
        $(function () {
            $(".datepicker").datepicker();

            $('#find').click(function () {
                 $.dialog({
                    title: '查询结果',
                    content: 'url:Template/griddatalist.html',
                    lock: true,
					width:650,
					height:450
            			})
            })
        })

    </script>
</head>
<body>
    <div class="alert alert-info">当前位置<b class="tip"></b>学员管理<b class="tip"></b>添加</div>
    <form action="/system/student/update" method="post">
	    <table class="tbform">
	        <thead>
	            <tr>
	                <td colspan="6" class="auto-style2">&nbsp;请填写添加数据 </td>
	            </tr>
	        </thead>
	        <tbody>
	            <tr>
	                <td class="tdl">用户名</td>
	                <td>
	                    <div class="input-append">
	                        <input class="ipt" name="name" size="180" type="text" th:value="${student.name}" />
	                    </div>
						<!--隐藏域-->
						<input type="hidden" name="id" th:value="${student.id}">
	                </td>
	             </tr>   
	            <tr>
	                <td class="tdl">年龄</td>
	                <td>
	                    <div class="input-append">
	                        <input class="ipt" name="age" size="180" type="number" th:value="${student.age}"/>
	                    </div>
	                </td>
	             </tr>   
	            <tr>
	                <td class="tdl">性别</td>
	                <td>
	                    <div class="input-append">
	                        <input name="sex" type="radio" value="男" th:checked="${student.sex=='男'}" />男
	                        <input name="sex" type="radio" value="女" th:checked="${student.sex=='女'}" />女
	                    </div>
	                </td>
	             </tr>   
	            <tr>
	                <td class="tdl">地址</td>
	                <td>
	                    <div class="input-append">
	                        <input class="ipt" name="address" size="180" type="text" th:value="${student.address}" />
	                    </div>
	                </td>
	             </tr>   
	            <tr>
	                <td class="tdl">电话</td>
	                <td>
	                    <div class="input-append">
	                        <input class="ipt" name="tel" size="180" type="text" th:value="${student.tel}" />
	                    </div>
	                </td>
	             </tr>   
	             <tr>
	             	<td></td>
	             	<td>
	             		<button class="btn">修改</button>
	             	</td>
	             </tr>
	        </tbody>
	    </table>
	</form>
</body>
</html>
